package com.zkingsoft.dao;

import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
import com.matrix.core.pojo.PaginationVO;
import com.zkingsoft.bean.Node;
import com.zkingsoft.bean.Tesst;

/**
 * @description (用户管理)
 * @author jyy
 * @date 2017-12-28 17:39
 */
public interface TesstDao{

	public int insert(@Param("item") Tesst tesst);
   	
   	public int batchInsert(@Param("list") List<Tesst> tesstList);
   	
	public int updateByMap(Map<String, Object> modifyMap);
	
	public int updateByModel(@Param("record")Tesst tesst);
	
	public int deleteByIds(@Param("list") List<String> list);
	
	public int deleteById(String id);

	public int deleteByModel(@Param("record") Tesst tesst);
	
	public List<Tesst> selectInPage(@Param("record") Tesst tesst, @Param("pageVo") PaginationVO pageVo);

	public List<Tesst> selectByModel(@Param("record") Tesst tesst);
	
	public int selectTotalRecord(@Param("record") Tesst tesst);
	
	public Tesst  selectById(String id);
	
	public Tesst  selectForUpdate(Integer id);

	public List<Node> selectNode();
	
}